package org.manusoft.refill.service;

import java.util.List;
import java.util.Map;

import org.manusoft.refill.domain.TDriverDetailsRf;
import org.primefaces.model.SortOrder;

public interface DriverService {

	
	public TDriverDetailsRf createUpdateDriver(TDriverDetailsRf driverDetailsRf) ;
	public TDriverDetailsRf findById(Integer id,boolean islock) ;
	
    public List<TDriverDetailsRf> loadLazy(int first, int pageSize, String sortField, SortOrder sortOrder, Map<String, String> filters);

    public Long getRowCount(Map<String, String> filters);
    
    public void delete(TDriverDetailsRf refillingDetailsRf) ;
    
    
    public List<TDriverDetailsRf> findByDlNoAutoComplete(String regNum);
    
    public TDriverDetailsRf findByDlNo(String name) ;

    
}
